﻿
#region 程序集引用区
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SubSonic.DataProviders;
using SubSonic.Extensions;
using System.Linq.Expressions;
using SubSonic.Schema;
using System.Collections;
using SubSonic;
using SubSonic.Repository;
using System.ComponentModel;
using System.Data.Common;
using SubSonic.Query;
using System.Xml;
using System.Xml.Serialization;
using System.Reflection;
#endregion

namespace WebeTerm.Model{
    
    /// <summary>
    /// 文 件 名: CommandLog.cs
    /// CLR版本 : v2.0.50727
    /// 作   者 : lijun.hu
    /// 版    权: Copyright @2011 lijun.hu(FORCEN HU) 
    /// 电子邮箱：lijun.hu@shinsoft.net
    /// 说    明: 未定义
    /// 生成日期: 2014年12月5日
    /// </summary>
    [Serializable]
    [Description(@"未定义")]
    public partial class CommandLog:BaseModel, IModel{
        
        #region 构造函数
        /// <summary>
        /// 未定义
        /// </summary>
        public CommandLog() : base(new CommandLogTable(null)) { 
            
        }               
        #endregion
        
        #region CommandLog属性列表
        System.Int64 m_Id;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.Int64  Id
        {
            get { return m_Id; }
            set
            {
                //if(m_Id!=value)
                {
                    m_Id=value;
                    UpdateColumn(@"Id");
                }
            }
        }
        
        System.Guid m_ConfigId;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.Guid  ConfigId
        {
            get { return m_ConfigId; }
            set
            {
                //if(m_ConfigId!=value)
                {
                    m_ConfigId=value;
                    UpdateColumn(@"ConfigId");
                }
            }
        }
        
        System.String m_CommandType;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.String  CommandType
        {
            get { return m_CommandType; }
            set
            {
                //if(m_CommandType!=value)
                {
                    m_CommandType=value;
                    UpdateColumn(@"CommandType");
                }
            }
        }
        
        System.String m_SendString;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.String  SendString
        {
            get { return m_SendString; }
            set
            {
                //if(m_SendString!=value)
                {
                    m_SendString=value;
                    UpdateColumn(@"SendString");
                }
            }
        }
        
        System.String m_ResultString;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.String  ResultString
        {
            get { return m_ResultString; }
            set
            {
                //if(m_ResultString!=value)
                {
                    m_ResultString=value;
                    UpdateColumn(@"ResultString");
                }
            }
        }
        
        System.DateTime m_ReceiveDate;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.DateTime  ReceiveDate
        {
            get { return m_ReceiveDate; }
            set
            {
                //if(m_ReceiveDate!=value)
                {
                    m_ReceiveDate=value;
                    UpdateColumn(@"ReceiveDate");
                }
            }
        }
        
        #endregion
        
        
        #region 关联父级
        private ConfigurationInfo m_FK_COMMANDL_REFERENCE_CONFIGUR;
        /// <summary>
        /// FK_COMMANDL_REFERENCE_CONFIGUR:eTerm配置信息.
        /// <remarks>
        /// 外键名称：FK_COMMANDL_REFERENCE_CONFIGUR
        /// 主表名称：ConfigurationInfo
        /// 外键字段：Id
        /// </remarks>
        /// </summary>
        [Browsable(false)]
        [XmlIgnore()]
        public ConfigurationInfo FK_COMMANDL_REFERENCE_CONFIGUR{
            get{
                return m_FK_COMMANDL_REFERENCE_CONFIGUR;
            }
            set{
                m_FK_COMMANDL_REFERENCE_CONFIGUR=value;
            }
        }
        #endregion
       
    }
} 



